package com.chinafree.business.model.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class BaseUserParam {



    /**
     *
     */
    @NotBlank(message = "头像url不能为空")
    @JsonProperty("head_portrait")
    private String headPortrait;


    /**
     *
     */
    @NotBlank(message = "firstname不能为空")
    private String firstname;

    /**
     *
     */
    @NotBlank(message = "lastname不能为空")
    private String lastname;

    /**
     * o男、1女
     */
    @NotBlank(message = "性别不能为空")
    private Byte gender;

    /**
     *
     */
    @NotBlank(message = "出生日期不能为空")
    private Long born;

    /**
     *
     */
    private Integer nationality;

    /**
     *
     */
    @NotBlank(message = "居住城市不能为空")
    private Integer liveCity;

    /**
     *
     */
    private String address;

    /**
     *
     */
    @NotNull(message = "工作类型不能为空")
    private Integer jobType;

    /**
     *
     */
    @NotNull(message = "email不能为空")
    private String email;

    /**
     *
     */
    @NotBlank(message = "简约描述不能为空")
    private String briefDescription;

    /**
     *
     */

    private String wechat;

    /**
     *
     */
    private String summary;


      /**
     * 工资
     */
    private Integer salaryStart;

    /**
     * 工资
     */
    private Integer salaryEnd;



}
